#include <iostream>
#include <SFML/Network.hpp>

#include "RNetwork.h"

int	main()
{
	RNetwork	Client;
	sf::Packet	send;
	sf::Packet	rcv;

	send << "Salut espece de fils de lache";
	Client.sendToServer(send);
	std::cout << "Waiting Answer . . ." << std::endl;
	Client.rcvFromServer(rcv);
	std::string message;
	rcv >> message;
	std::cout << "Received from Server [" << message << "]" << std::endl;
	return (0);
}